Update cache-sim.c