Update .gitignore

Added following rules for git ignore.
*.pyc
*.db
.*.swp