This is homework for search engine class that implementing pagerank in Java.