add bitset implementation in c.