A model in statistical physics is presented based on assigning non-Abelian
phase factors to the turning points of polygons in three dimensions. This m
odel allows for an exact solution and exhibits an unexpectedly rich phase s
tructure. The model as well as the solution are obtained by a generalizatio
n of the methods of Kac and Ward and by mapping the problem to a Markov pro
cess as was done by Feynman for the two-dimensional Ising model.