modified program to account for no incorrect answers