2nd assignment for Bayesian Methods in Machine Learning course