fixed quiz class and printing question ids for quiz