exercise7.rb completed