Added collatz.py for calculating collatz sequences.