a simple java code can solve the Josephus problem to any number given
a simple java code solve the Josephus problem to any number given