Working on linked lists in C.