Python - Convert dictionary into list with length based on values,[i for i in d for j in range(d[i])]