IOS interpretation of Mastermind.