3n + 1 Recursive Solution in Ruby