Dealing with cycles in family-tree data-structures due to incest (stackoverflow)
stackoverflow.com