implement dict_keys and dict_values