Adds pagerank methods CalculatePagerank, AddNode, and register.
Adds node struct and node method rank.