This is a simple Page Rank example implemented in Java