Ease of use function for finding the root node from a given node.