Add add functions to db.py
Merge branch 'master' of github.com:stuycs-softdev/proj1-7