Random graph generator for Graph500 benchmark.