Update Database.cpp

Updating Database.cpp after adding delete and union function.