creating the linked list
head = append ( head , 10 ) NEW_LINE head = append ( head , 7 ) NEW_LINE head = append ( head , 12 ) NEW_LINE head = append ( head , 8 ) NEW_LINE head = append ( head , 9 ) NEW_LINE head = append ( head , 2 ) NEW_LINE