Finished up Naive Bayes algorithm and test case.