function makeQuizExec(){
  var min = parseInt(jQuery("#math_gen_min").val());
  var max = parseInt(jQuery("#math_gen_max").val());
  var op = jQuery("[name=op]:checked").val();
  var count = parseInt(jQuery("#math_gen_count").val());
  jQuery("#math_gen_result").val(makeQuizN(min, max, op, count));
}
function handleDownload(){
  var data = jQuery("#math_gen_result").val();
  var blob = new Blob([data], {type: "text/plain"});
  var a = document.createElement("a");
  a.href = URL.createObjectURL(blob);
  a.target = '_blank';
  a.download = 'quiz.txt';
  a.click();
}