double ended LinkedList written