some pep8 and cosmetic changes, added gitignore
made code python3 compliant
implemented updates
implemented deletes