bitmask operations

working with bitmasks (with multiple states allowed)
bitmask operations

set single bit to zero
Merge pull request #3 from senfi/patch-1

More bitmask operations