iterative5.rb