Basic calculator in haskell