converting a dict into a list,[y for x in list(dict.items()) for y in x]