Removed hardcoded entries in Pagerank.
Union implementation is now much neater.