Changes to grader.js. Working fine as per assignment