Updated Version of TestCollatz.py