nb function

Naive Bayes using e1071::naiveBayes