Sequences of bits and common operations on them