input: Write a function to take a list of strings and generate a list of lists of words from the strings. The returned list should have the first word for each string followed by the following words for each string.
  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(["Python programming", "Data structures and algorithms"])==[[["Python"], ["programming"]], [["Data"], ["structures"], ["and"], ["algorithms"]]]
  assert get_word_lists(["Singular element"])==[[["Singular"], ["element"]]]
  assert get_word_lists([])==[]
output: 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