create exercise7.rb