Write a recursive function to set the
value for each node in a binary tree to be its depth.
Assume that nodes store integer values. On the initial
call to BTsetdepth, "depth" is 0.
For this exercise, you need to do a traversal that visits each node of the tree, and sets the depth to the value that has been passed to it. No information needs to be returned.
However, the depth must be incremented by 1 on each recursive call.