Josephus Problem with Python

A efficient algorithm to solve Josephus Problem with Python