Bitfield class  and tests added