convert list of strings to dictionary,d[i[0]] = int(i[1])