Solve word count in scala
[WIP] solve anagram in scala