find lca of bianry tree