Python3-friendly print
Can now pass cells to ignore in maze generation.

Moved some functions around (their functionality hasn't changed), use some closures.