Assignment 3 Cache Simulator Solution