Implement Bayesian Networks In Python Formatting