added CacheSim.java