correction of double linked list

remove did not work correctly because the insert algorithm was faulty,
currentNode.next.previous was not set to new Node