A doubly linked list implemented in C