added longestword.rb
solved array to hash without compile prob