Computing PageRank for four pages

Let's write code that will compute the Page Rank values of the four pages, A, B, C and D based on the links they have.

In this version, when the user clicks on the button *only* once, the code will perform 40 rounds of rank computations, which are enough to produce the final page ranks for this particular graph.

A:

B:

C:

D: