Sets bit i when value is true and clears it otherwise; this is what bits[i] = value does.
i
value
true
bits[i] = value
set_bit_to :: (array: *Bit_Array, i: int, value: bool)