conditional_loop.rb