Implement distribution logic for page_rank.

Still type-errors; key/value - unit.