public void SetState(IPosition aPosition, CellState itsState)
 {
     if (_states.ContainsKey(aPosition))
     {
         _states[aPosition] = itsState;
         return;
     }
     _states.Add(aPosition, itsState);
 }
 public Transition(CellState cellState, AliveNeighborsCount aliveNeighborsCount)
 {
     _cellState = cellState;
     _aliveNeighborsCount = aliveNeighborsCount;
 }