Algorithm For Circular Linked List