Tag - doubly linked list program in c