input: Write a function to generate a list of lists of words from a given list of strings where each list contains the first word followed by subsequences of following words for each string. The function should return the constructed list of lists.
  
  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(["One two three"]) == [[["One", "two", "three"]]]
  assert get_word_lists(["An apple", "A day", "Keeps the", "Doctor away"]) == [
      [["An", "apple"]],
      [["A", "day"]],
      [["Keeps", "the"]],
      [["Doctor", "away"]],
  ]
  
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