Computing PageRank for three pages

This is the example that Brin and Page used to explain PageRank in the original paper.
Let's write code that will compute the Page Rank values of the three pages, A, B, C, based on the links they have.

A:

B:

C: