Solution for programming quizzes