grader.js for homework part 3 of week 3