working on doubly_linkedlist_remove function