A quick implementation of the Mastermind game