Created isCorrect function that checks student's answer then prints message to screen