delete a node from doubly linked list