Next free memory block is properly updated after running programs; only marks one block as free