tracking guesses and comparing against the pattern correctly