created an accuracy counter for correct and incorrect answers