Time for BST code golf - winner does it in the fewest characters!
It could be funny to test with a trinary or quaternary tree,(then you have 3 or 4 - or n - children) based on a different processing of the value
For example, storing complex numbers and the child corresponds to the angle relative to the parent