Self-contained loop

Ruby 1.9+ allows you to define lambdas without alphanumeric characters. This allows recursion.