autopep8
added gitignore
made some methods static
made script more readable
fixed a little mistake, i guess