Design BitsetMaintain a bitset supporting individual updates, global flips, count queries and string conversion.