input: Write a python function to generate a word frequency report from a given text.
  assert generate_freq_report("Hello world hello") == {'hello': 2, 'world': 1}
  assert generate_freq_report("Test the function with a test text") == {'test': 2, 'the': 1, 'function': 1, 'with': 1, 'a': 1, 'text': 1}
  assert generate_freq_report("One fish two fish red fish blue fish") == {'one': 1, 'fish': 4, 'two': 1, 'red': 1, 'blue': 1}
output: def generate_freq_report(text):
      words = text.lower().split()
      frequency = {}
      for word in words:
          if word in frequency:
              frequency[word] += 1
          else:
              frequency[word] = 1
      return frequency