Simply iterative implementation of the collatz conjecture cycle counter