Pagerank method

What do you think about this way of encapsulating examples?
We actually have a `numberOfVertices` method (which though, returns a DataSet<Integer>), but for now you can use it as a broadcast set and remove the `numVertices` parameter.