clipped from: www.math.com   
Maze Generator


The program generates mazes using three standard algorithms: Depth-first search, Prim's algorithm, and Kruskal's algorithm.