


depth -- Function to know the depth of a tree
input:
root: the root of the tree to measure to depth
output:
d: the depth of the tree beginning a the root
example: this tree has a depth of 3
r
|_c1
|_c2
|_c3