haskell solution for reading books