Print LCA of two nodes in a tree