Added r_field to cache structure to use in different replacement algorithms.
Finished lookup_cache_2w()