linkedlist.c edits