working grader.js for hw 3