Added chapter5_program1.rb