completed grader.js for hw3