rearrange graph/pagerank lecture