Experiments in Bayesian Networks using Scala