finished grader.js for HW3