Gearworkdragon Hmm Yes that was my mistake at array.at(0,3). As you said above it is a Rubik's cube then now I can this imagine array like a cube so width is X which is 4 because in computer and networking we start it from 0 and the height is Y so it is 3 (0,1and 2).
So what will be the depth of this cube if we have a 4x3 grid ? So if the depth is 1 then I can say in 3d it is 4x3x1. Now if depth is 1 so I can imagine this 4x3 grid is a single layer of the rubik cube.
That maths and computer information is good !