An implementation of PageRank in Haskell