There are three sets of functions. The first produces
basic properties of a graph and generates samples from
multinomial distributions to facilitate the simulation
functions (they maybe used for other purposes as well).
The second provides various simulation functions for a
Potts model in Potts, R. B. (1952)