Implementation of a Mark Sweep Garbagecollector for the System Software lecture