Duubly Linked List implementation in C