First non-working verion non printing a file
Version working without saving a file
Code reordered a bit
Commented and polished grader.js