getMaxDepth

Returns the maximum depth of the tree.