Puzzles completed in python to test my logical reasoning. The famous historical Josephus dilemma and the issue of the smallest substring ...