Fix python to 4 space indents; add .gitignore