This is an algorithm used by Google Search to rank websites in their search engine results.
My code simulates the image found via Wikipedia: https://en.wikipedia.org/wiki/PageRank#/media/File:PageRanks-Example.svg
PageRank is a link analysis algorithm and it assigns a numerical weighting to each element of a hyperlinked set of documents, such as the World Wide Web, with the purpose of "measuring" its relative importance within the set. The algorithm may be applied to any collection of entities with reciprocal quotations and references.