A python version of the code-breaking game.