input: Write a python function to find the most frequent words in a text.
  assert most_frequent_words("this is a test this is only a test") == ["test", "this", "is", "a", "only"]
  assert most_frequent_words("hello hello hello world world") == ["hello", "world"]
  assert most_frequent_words("one two two three three three four four four four") == ["four", "three", "two", "one"]
output: def most_frequent_words(text):
      from collections import Counter
      
      words = text.split()
      word_counts = Counter(words)
      sorted_words = sorted(word_counts.items(), key=lambda item: (-item[1], item[0]))
      
      return [word for word, count in sorted_words]