Create ex18.rb