code: public void set(int x, int y) {
      int offset = y * rowSize + (x / 32);
      bits[offset] |= 1 << (x & 0x1f);
    }
docs: <p>Sets the given bit to true.</p>
  
  @param x The horizontal component (i.e. which column)
  @param y The vertical component (i.e. which row)