updated NaiveBayesClassifier.java
added methods to count num features in category, num categories
added method for probability of category given feature