convert a list into a nested dictionary,print(d['a']['b']['c'])