finished grader.js for hw 3