A simple class to store an array of bits