Randomly generate K paths in a graph.