I have a 2d array chessboard. I also have another 2d array for obstacles on 2d chessboard.
`int[][] obstacles=({1,2}, {2,3}, {3,4});
I do not und