<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _root(self):
 """Attribute referencing the root node of the tree. :returns: the root node of the tree containing this instance. :rtype: Node """

        _n = self
        while _n.parent:
            _n = _n.parent
        return _n