mastermind code solver