Utility to simulate cache behavior with Mattson's Stack Algorithm.