Added the hadoop version of Naive bayes