Simulation of an L1 cache using C. Allows for write through and writeback modes.