I am not able to print the first node after reversing doubly linked list.
I have used structure to create nodes , I can tell that I am correctly swapping the prev and