Added parse-quiz function.