Fixed the depth-first maze generator