add example Gibbs sampler code
Merge pull request #3 from capnrefsmmat/gibbs

add example Gibbs sampler code