[Haskell-beginners] Bit arithmetic in Haskell