Single level cache simulator for undergrad architecture class