work on implementing the doubly_linkedlist