Correct sentenceAnagrams implementation with fixed subtract