#8: Added method to get depth of a sub-tree

Added a method to get the depth of a branch of the tree.