Added function for checkAnswer