add findMaxInTree,findLeastCommonAncestor