modified program to take in incorrect answers and output them in the end