CLRS Problem 14-2

For the colorful history of the Josephus Permutation, please see Wikipedia

CLRS Problem 14-2