Supppose I have a 2d array, grid defined like so:
int[][] x = new int[][]{{0,0,1},{0,0,2},{0,0,3}};
Now suppose I want to reassign all positi