Automatic test generation, part 1

Created generateproblems.py, which creates a directory structure in scratch
in which problems can be run. Future work will include setting up a framework
to run these problems and to post-process the results.