new file:   collatz.py