A Naive Bayes Classifier for CS401R written in python