Bayesian belief network implementation, and an Markov chain Monte Carlo technique that uses Gibbs sampling to do inference.