Finished pageRank implementation. Added unit test.