Added deadCellsObj to store neighbouring dead cells