Multinomial Naive Bayes code. Feature weights and tokenizer to be added.