input: Write a function to generate a list of lists of words from a given list of strings. The returned list should have the first word for each string followed by following words for each string. If the given list of strings is empty, return an empty list.
  def get_word_lists(strings):
      word_lists = []
      for string in strings:
          words = string.split(" ")
          word_list = []
          for i in range(len(words)):
              word_list.append(words[i:])
          word_lists.append(word_list)
      return word_lists
  
  assert get_word_lists(["Hello world", "This is a test"])==[["Hello", "world"], ["This", "is", "a", "test"]]
  assert get_word_lists(["Hello"])==[["Hello"]]
  assert get_word_lists(["A B C", "D E F G"])==[["A", "B", "C"], ["D", "E", "F", "G"]]
  assert get_word_lists([])==[]
output: def get_word_lists(strings):
      word_lists = []
      for string in strings:
          words = string.split(" ")
          word_lists.append(words)
      return word_lists