Stack and Queue implementation using Doubly Linked List in C