original_docstring:  Given root node, go left or right, get to child, go left, right or
          insert? Does not need to be self balancing.
          
docstring: Given root node, go left or right, get to child, go left, right or
  insert. Does not need to be self balancing.
docstring_tokens: Given root node go left or right get to child go left right or insert . Does not need to be self balancing .
code: def insert(self, val):
          """ Given root node, go left or right, get to child, go left, right or
          insert? Does not need to be self balancing.
          """
          new_node = Node(val)
          if self.root is None:
              self.root = new_node
              return
  
          current = self.root
          while True:
              if val == current.value:
                  raise ValueError('Value is already in the tree')
              if val > current.value:
                  if current.right is None:
                      current.right = new_node
                      return False
                  else:
                      current = current.right
              if val < current.value:
                  if current.left is None:
                      current.left = new_node
                      return False
                  else:
                      current = current.left
code_tokens: def insert ( self , val ) : new_node = Node ( val ) if self . root is None : self . root = new_node return current = self . root while True : if val == current . value : raise ValueError ( 'Value is already in the tree' ) if val > current . value : if current . right is None : current . right = new_node return False else : current = current . right if val < current . value : if current . left is None : current . left = new_node return False else : current = current . left
short_docstring: Given root node, go left or right, get to child, go left, right or
  insert?
short_docstring_tokens: Given root node go left or right get to child go left right or insert?
comment: """ Given root node, go left or right, get to child, go left, right or
          insert? Does not need to be self balancing.
          """