A compressed bitset with supporting data structures and algorithms