Added printing of string representing result data in Haskell