DMelt example: Bayesian networks using Encog Java and simple logic