Adds MarkAndSweep2 with *almost* working marking, modifies memory with helper functions.