Python Pagerank Algorithm Example