input: Write a function to implement a linked list using classes in Python. The function should include two classes, Node and LinkedList, where Node represents the individual nodes of the linked list and LinkedList represents the entire list. The function should also include a method print_list in the LinkedList class to print all the nodes in the linked list.
  
  class Node:
      """Node class to represent the node in a linked list"""
      def __init__(self, data):
          self.data = data
          self.next = None
  
  class LinkedList:
      """LinkedList class to represent the entire linked list"""
      def __init__(self):
          self.head = None
      
      def print_list(self):
          node = self.head
          while(node):
              print(node.data)
              node = node.next
  
  assert linked_list.print_list() prints out 1 2 3 when the linked list is created with nodes holding values 1, 2, and 3 in sequence
output: 
  class Node:
      """Node class to represent the node in a linked list"""
      def __init__(self, data):
          self.data = data
          self.next = None
  
  class LinkedList:
      """LinkedList class to represent the entire linked list"""
      def __init__(self):
          self.head = None
      
      def print_list(self):
          node = self.head
          while(node):
              print(node.data)
              node = node.next
  