add demo of naive bayesian classifier