equalNextFreq using mapping
predict
Fixed the bug with the word east