the maze is a two-dimensional array consisting of ones signifying barriers and zeros signifying open space code example
Example: how to get a rectangular grid out of two given one-dimensional arrays
import numpy as np
np.meshgrid(list1, list2)
import numpy as np
np.meshgrid(list1, list2)