Updated the grade script. Added scripts for flattening and unflattening a directory of student submissions.