A cache simulator for ECE451 (lab 2)