added gitignore file
added gitignore, added comments to collatz.py

more documentation and formatting changes