Simulates L1 Cache in C