Tried out Haskell a bit