Added a gitignore file for the python executables
Modified the writing file to flush every so often and also added a gitignore file