Implementation of an LRU paging algorithm.