Create ex24.rb