access an arbitrary element in a dictionary in python,list(dict.keys())