working direct-mapped cache