linkedList.c nearly complete