Trivial PageRank implementation