completed pangool map-reduce based naive bayes classifier