Doubly linked list implemented.