def insert_beginning(self, new_value): #initialising new value new_node = Node(new_value) #giving new value attribute to Node() for the new_node ne