Printing ancestry information