To make sure the loop makes it to the repeated letters, we'll replace the correctly guessed letters in word with underscores.

Store "_" at the index of the correct guess in the word list.