Doubly linked list implementation
Forgot to assign head pointer when copying a list