Completed grader.js for hwp3