Created exercise7.rb and made initial hash