Implement Bayesian Networks And Perform Inferences In Python