copy keys to a new dictionary (python),set(d.keys())