Update linkedList.c

Add reverse routine