Collatz with recursion