Simple mastermind-solving script