Improved/fixed functionality for bitset class
Adding test code for bitset class.