2D and 3D Nested Sampling for Potts models