Convert guessGrid to HashMap