Functional and simple version for Collatz Conjecture or 3n + 1 Problem

Functional and simple version for Collatz Conjecture or 3n + 1 Problem