full HW2 grader.js