TODO: Always error-check code
TODO: Always error-check malloc/alloc
don't need maze.dat