print the node list