input: Write a python function to convert a string of key-value pairs into a dictionary.
  assert parseStringToDict("key1=value1,key2=value2,key3=value3") == {'key1': 'value1', 'key2': 'value2', 'key3': 'value3'}
  assert parseStringToDict("name=John,age=30,city=NewYork") == {'name': 'John', 'age': '30', 'city': 'NewYork'}
  assert parseStringToDict("a=1,b=2,c=3") == {'a': '1', 'b': '2', 'c': '3'}
output: def parseStringToDict(s):
      return dict(item.split("=") for item in s.split(","))