Graph implementation in Java with ability to calculate PageRank and TruRank