sample_gnp function

Sample correlated G(n,p) random graphs