Init: my variation of the collatz sequence function