A simple Java implementation of the Pagerank algorithm