input: Write a function to analyze the sentiment of given text and categorize it into positive, negative, and neutral sentiments. The program should take a text as input and return one of the three sentiments.
  assert analyze_sentiment("I love this product. It's amazing!")=='positive'
  assert analyze_sentiment("This movie was so boring.")=='negative'
  assert analyze_sentiment("There is nothing special about this place.")=='neutral'
  assert analyze_sentiment("I had a pretty good day today.")=='positive'
  assert analyze_sentiment("I feel indifferent about this situation.")=='neutral'
output: def analyze_sentiment(text):
      positive_words = ["love", "amazing", "good", "pretty"]
      negative_words = ["boring", "nothing", "indifferent"]
      
      words = text.lower().split()
      positive_count = sum(1 for word in words if word in positive_words)
      negative_count = sum(1 for word in words if word in negative_words)
      
      if positive_count > negative_count:
          return 'positive'
      elif negative_count > positive_count:
          return 'negative'
      else:
          return 'neutral'