import numpy as np grid = np.array([[10, 20, 30], [40, 50, 60]])