Pat&#39;sBlog: The Josephus Problem