program to implement doubly linked list with possible operations.