first pseudo functional grader.js
add json to file at finish operations