print method for list_node