LRU algorithm is implemented, cache test is corrected