how to set default value to all keys of a dict object in python?,d['foo']