Work along with the book about mazes Mazes for Programmers but in python and maybe I go nuts sometimes.
The binary tree carves out a maze, by going through each cell and randomly removes the NORTH or EAST wall.
from generics.grid import Grid
from creators.binary_tree import BinaryTree
grid = Grid(100,100)
bt = BinaryTree(grid)
maze = bt.create()
maze.to_png()
![alt text](test.png "Should show an test maze")