bitmask with swift I wrote a simple Swift playground to understand better how bitmasks work using swift.