first pass at erdos-renyi for graph generation