adding code for the problem of finding the least common ancestor in a binary tree