Histogram plot in Haskell