Create Lowest Common Ancestor in O(sqrtN)