the whole grid will be represented by 9 x 3 x 3 x 9 that way each "square" is addressable so k can be updated easily rather than having to try and work out which value of i and j needs to be updated