After going back a guess, previousGuess wasn't updating array