pub fn toggle_bit(bitmap: &mut [u8], bit_index: usize)
Flip a bit’s value 0->1 or 1->0 at the given index