I'm writing a cellular automata simulation program, and I currently have several subclasses of Cell objects corresponding to each type of Simulation I want to run and each subclass has a setNeighbors method that another class calls to set the neighbors of a Cell depending on its position in the grid.I'm writing a cellular automata simulation prog