Changed intersect return mechanism & Updated the destructor
Using the new intersection function