Update linkedList.c

add recursive code