Moved wordFrequencies to analyzer
Added first spec
Tests pass
New tests for the case when word includes whitespaces