Pass the parent (father) in the constructor or add a setParent() function to your node.