C++ maze generator, Not new