finished grader.js and output