C# implementation to clac page rank