Basic linked list in C, and a reverse function.