cellSet method
Sets the value of a cell at the specified coordinates.
Does nothing if the coordinates are out of bounds.
Implementation
void cellSet(final int x, final int y, bool value) {
assert(_isValidXY(x, y) == true);
_matrix[y * cols + x] = value ? 1 : 0;
}