[Haskell] Parsing binary data