Final version (clean) of grader.js