Added javadocs to explain private methods of FindCommonAncestor.