Determining the Existence of a Valid Secret Code in Mastermind Based on Given Guesses and Scores Guesses and Scores