Potts model

Extends the EdgeFeaturedGraphCRF class to make a simple Potts model, where the edges have a potential of 0 if neighbors have the same state and some other potential otherwise.