In a two dimensional rectangular grid of cells we use the updating rule that the value of
a given cell at time n+1 is the majority value when considering that cell and its eight nearest neighbors.
Implement this rule.
You can assume that the boundary values stay fixed at zero.
Begin with a completely random assignment of values throughout the interior of the grid,
where each cell is equally likely to be zero or 1.