Implemented a circular linked list