implement Naive Bayes algorithm with movie reviews

This implementation of Naive Bayes algorithm classifies movie reviews. 2/3 of a set of movie reviews were randomized and used as training set, 1/3 of the rest reviews were used as test set. Accuracy of classification was computed.