add test for pagerank
fix pagerank build on mac
Merge pull request #60 from thinxer/pr_test

add test for pagerank