input: def get_word_lists(strings: list) -> list:
      """ Generates a list of lists of words from the input list of strings. Each string
      is split into words, and each word is followed by the next word until the end of the string.
      >>> get_word_lists(["Hello world", "This is a test"])
      [["Hello", "world"], ["This", "is", "a", "test"]]
      """
output:     result = []
      for string in strings:
          words = string.split()
          word_list = []
          for i in range(len(words) - 1):
              word_list.append(words[i])
          result.append(word_list)
      return result