added a mastermind solver