input: Write a python function to parse a string into a dictionary of word frequencies.
  assert parseString("hello world hello") == {"hello": 2, "world": 1}
  assert parseString("test the function the function works") == {"test": 1, "the": 2, "function": 2, "works": 1}
  assert parseString("one one one two two three") == {"one": 3, "two": 2, "three": 1}
output: def parseString(s):
      words = s.split()
      freq_dict = {}
      for word in words:
          if word in freq_dict:
              freq_dict[word] += 1
          else:
              freq_dict[word] = 1
      return freq_dict