Josephus Problem Circular Linked List Representation