Simulates the hit/miss behavior of a cache memory and outputs the total number of hits, misses, and evictions.