This a demo to show how to find least common parent in the tree