Least comman ancestor in BSTs