Made problem code changes permanent

-Fixed a bug where SR was being constructed incorrectly because of a
corrupt input file.
-Changes made during run-time to problem codes will now reflect in
exported files.