Updates Database.h and Database.cpp

Implements addRelation, deleteRelation, and the constructors and
destructors.