determines if answer is correct or not