input: Write a function that reads a given text and returns a list of the top 10 most frequent words along with their counts. The function should handle the text as an input parameter and use the Counter class from the collections module to count the frequency of each word. Finally, it should return the top 10 words and their counts as a list of tuples.
  def get_top_10_words(text):
      from collections import Counter
      words = text.split()
      counter = Counter(words)
      top_words = counter.most_common(10)
      return top_words
  
  assert get_top_10_words("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.") == [('dolor', 1), ('Lorem', 1), ('ipsum', 1), ('sit', 1), ('amet', 1), ('consectetur', 1), ('adipiscing', 1), ('elit,', 1), ('sed', 1), ('do', 1)]
  assert get_top_10_words("") == []
  assert get_top_10_words("apple banana apple cherry banana apple") == [('apple', 3), ('banana', 2), ('cherry', 1), ('grape', 0), ('mango', 0), ('orange', 0), ('peach', 0), ('strawberry', 0), ('kiwi', 0), ('pineapple', 0)]
output: def get_top_10_words(text):
      from collections import Counter
      words = text.split()
      counter = Counter(words)
      top_words = counter.most_common(10)
      return top_words