Added recursive implementation of LCA (Lowest common ancestor).