Completed the second version of the grading script generator

I tested it with a configuration file for lab3, and it seemed to have worked just fine. I'll take a look over the more advanced features later, but for now, this is good.