Added algorithms of Lowest Common Ancestor