random graphs using the G(n,p) model