Added code for finding common ancestor in BST