exercise7.rb - added cohort4, displayed keys