FIX inter.py and WRITE function, which check names

DELETE .gitignore
MODIFIED inter.py - fix some bugs and formatting error
MODIFIED main.py  - write ability to accept file names as arguments