Outputs a quiz from nested arrays