Update word-sorting.rb