Added ex7.rb