Construction of a simple PageRank Algorithm - Homework of Numerical Programming