Implemented the ability to query the bayes net for conditional probability