Made cubes render through 2D array to a grid of 5*5.