Added function getBitSet, which returns the bitset as a char array