Genericizing bitset so I can reuse the same framework for byteset.