fixed a lot of minor bugs thanks to Pylint; getting the arguments from the command line is placed inside a function, getArguments()
updated .gitignore