We partially implemented the destructor function
We added destruction functions