some changes
binary tree find max element in the tree