added an iterator to iterate over the cells of the gridblock. Pixeliterator could also have been used but this one is more lightweight