Updated examples that used the grid iterator.