Implementace garbage collectoru