added LRU replacement algorithm (random is commented)