Return an index into cells using {row,column} notation.
int index(int i, int j) => (i * _numCols) + j;