create mastermind game for human and computer players

This is the first pull request. Mastermind is currently working for the human and computer players. Will still refactor to decrease duplication.