Function for creating lattice graphs: createlattice.m Function for getting lattice statistics: latticestats.m Pretty plot of a lattice: plotlattice.m Watts & Strogatz-type experiment: SmallWorldsEx.m