fixed the bug with submitGuess so that everything appears to work