LFU complete

LFU completed, tested, but not fully. Let me know if you find errors