adding doubly linked lists