Cells now depend on 8 neighbors, not 4

* Refactored to remove the GridGenerator class.