Fixed Josephus circle implementation