Create max_element_in_a_tree