grader.js updated for HW3