A doubly linked list data structure in Java