Generates mazes