Update dict_with_cache.py

s/cached_term/cached_key