Can now write mazes to files