add code to done exersize 3.6 josephus probleam