Lowest common ancestor for BST