Simple Calculator Implementation in Haskell