getSampleTree function

Find all relatives (parents, children, and outward) of a given sample.