Finally finished grader.js