dynamic grid, grid printing, cells initially randomly generating, and cell switching done