A cache replacement algorithm simulator