logging whether the answer is correct or not