Sampling from a Gibbs Measure with Pair Interaction by Means of PCA