implement naïve bayes
test naïve bayes