modified grader.js for homework3 part3