Bug fixing formatter and implementing output to files
Updating gitignore to ignore .idea/ PyCharm prefs