Wrote the grader.js script for hw3.