generate output in grader.js