Prints the names in a node list to the terminal. The only argument is the node list.
Returns nothing.