Good, I have a problem with a matrix in java, the issue is that I have to make a matrix 10X10 where within it has different sublocks all the outer edge is block A, and the interior minus 16 central cells is the block B, those 16 central cells should be eliminated since they can not be used, but I do not know how to do it once I create the matrix I do not know how to reference each subloque with a variable char that represents block A and block B. I also do not know how to eliminate those internal cells. What I have to represent is just like the image, being the block of dark orange color the block A and the block of light orange the block B and the black block that is the one that I do not have to consider, since these are cells of prisoners and the black block is the internal courtyard therefore it should not be taken into account. I do not know if it's better to define Block as another class since I have the Jail class and Prisoner, or it would be better to block it as an attribute of Cell, but what if I have to have differentiated both block A and block B