Corrected type on last line of chapter2_program1.rb