Resumed working on main()
Refactored WordCounter class (moved string argument from constructor to
method)