new_contents: class Node(object):
  
      def __init__(self, val):
          self.val = val
          self.next = None
  
  
  class LinkedList(object):
  
      def __init__(self, name):
          self.head = None
  
subject: add basic class definitions.