Add another implementation using loop-recur for collatz sequence.