Final version of grader.js