began implementing linked list methods