void set_parent(Node* self, Node* parent) { self->parent = parent; }