Java implementation of a Circular Doubly Linked List