Sets the element in the array at x, y to value.
x
y
value
void set(int x, int y, T value) { _checkBounds(x, y); _elements[y * width + x] = value; }