Fixed grader.js to accept inputs, not just flags