Bayesian Network Implementation Python Code Runner