the main function file that runs naive_bayes
just a driver for naive_bayes