Algorithm to Insert a Node in the Circular Linked list