WIP: add output param to Cache::add_entry - number of swaps in cache