Added comments and reflow makeGuess function