Several Implementations of Automatic Garbage Collection algorithms (Reference Counting, Mark-Sweep) in C/C++