Josephus problem Pull Request

Pull it into master branch.