birth
function to add a child node to the parent node's children list.death
function to mark a person as dead in the death record.getInheritanceOrder
function to perform a DFS on the tree, collecting the names of living individuals in the inheritance order.