add LRU algorithm for swap out