factoring out maze generation
cleanup
factoring out testcase generation