Implement page rank