First attempt at translating PageRank.java

It doesn't work yet.