PageRank first PR

Work still in progress. Sending it out for some feedback anyways. 

let's not use checkstyle - we don't talk about this file in guide, while we are providing list of all files in example sources...