isAlive method

bool isAlive(
  1. int i,
  2. int j
)

Is the cell at {i,j} alive right now?

Implementation

bool isAlive(int i, int j) => _cells[index(i, j)];