basic i/o in haskell