make BitArray better usable as a set of integers by adding opApply, add and remove