Simple family tree class for Algorithms Year 2