AG: added gitignore, updated formatting in other python files.