A C++ program which implements Naive Bayes algorithm