added skeleton for linked list
changed global to main
emacs is drunk