find the bug: lru should be array lru[CACHE_LINES], add debug printouts