Additional solution

Using collections.Counter data structure.
Merge pull request #43 from filannim/patch-1

Additional solution