Common Parent

Finds the common parent of a set of elements.