Add a true memory desallocation to the garbase collector's resources
Add comments and correct the garbage collector's algorithm