Working through code and examples in Bayesian Computations in R