game of life grid checks