A simple command-line game of mastermind (code-breaker)