added accuracy measure to classifier

Now has a functioning accuracy tester that tests the naive bayes
classifier on a validation set, and prints out the stats/accuracy