Function: destructor

Destructor for cleaning up any dynamic links to our object.