find the first common ancestor of two nodes in a binary tree