Finished grader.js for HW3