Added matrix calculation of PageRank.

The pagerank can be calculated by iterated matrix multiplication
 instead of random walk.
This is much faster.
Added C++ version of parser.

Python goes slowly when determining the pagerank.
C++ goes faster.