Garbage Collector for C++ Implemented own version of smart pointer for garbage collection and to verify that there are no memory leaks. Result: