firstChild(hierarchy, member), given a hierarchy and a member, returns the first child. The function first finds the parent of the member along the hierarchy and then finds the first child, who is a sibling of the member passed as an argument.
firstChild(Member member, Hierarchy h)