SimplePageRank example with usage of arrays