Wolff Algorithm for the q-state Potts model C++ implementation of the Wolff cluster method for the q-state Potts model in a 1D chain and 2D squared lattice with periodic boundary conditions.