Error handling in Database.cpp
Merge branch 'master' of https://github.com/igrande0/CSCE-315-Project-1
Wrote close, open, and write functions