In programming, we can work with Matrices, which can be created with a 2d Array which is simply arrays nested inside an array (it is also possible to create greater multi-dimensional arrays 3d, 4d by further nesting). A 2d array would simply look something like this. [[1,3,9,4],
[5,7,9,5],
[1,1,1,2],
[6,3,8,4]] …