First version of the cache simulator