commented code, cleaned up mazeGen.cpp