add gitignore for swp and pyc files