A simulator of Cache