Starting work on naive bayes classifier.