simple circular doubly linked list prototype