solutions for assignment 7
Add wordcounter solution