make LinkedList class doubly linked