Calculating percentage of questions answered correctly