Create BagOfWords.java