Watts-Strogatz graph generator