Find first common ancestor node of two nodes in a tree.