add pylintrc and solve warnings
add section to Makefile to run pylint
do not use list as default argument
To use a list as default value for an argument is dangerous because the list is only initialized once at the beginning of the program.