Circular Doubly Linked List Library in C++