Implemented doubly linked list with 'move' functionality