Implement Bayesian Networks And Perform Inferences In Math