updated mastermind so that a human can choose a secret code instead of a computer generating it