add gibbs sampler source code.