Moved NIL_NODE outside the Node class