Univariate Bayesian Classifier Implementation in Python - Simple