Complete QuizGrader class, including string-to-array conversion