Recursion exercises & practice in Ruby