A minimalistic garbage collector in ANSI C