generate regular graphs
enhanced regular graph generation