The functions purpose is to run through the box matrix and find a rand index on the matrix and if the number is zero delete the number, and insert a new number in it, additionally it's supposed to print out the matrix in a 4x4 pattern, it's be printing out in a 1x16
The error that I get is from line 16
The error message is :IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed