Fixed WordBag addOccurance to work with binarySearch