Step 2: Add a function to your code with two parameters,
one for the user's guess, and one for the correct answer.
Use this function to check if the user's guess matches the correct answer,
and respond accordingly.
Modify your code to use this function wherever you check the user's guesses.