Maze generator in D.