Update blocks.rb

more practice with blocks and scoping