Changed WordCounter.rb to use Word class. Also, results now sorted by key values.