finish functionality: culc number of wrong answers for exam