C++ maze generator using depth-first search.