Finish 3 out of 4 parts of hash_step18.rb