linked list working

need to alter syntax and do other functions