Fixes in the list

DoubleLinkedList malfunctions fixed