Simple PageRank algorithm implementation in Python for SPARK-760