def make_pairs(left_list, right_list, exclude_doubles=False):
    """Takes two lists of words and returns all pairs that can be formed between them."""

    pairs = [[left_word, right_word] for left_word in left_list for right_word in right_list]

    if exclude_doubles:
        pairs = [[word1, word2] for word1, word2 in pairs if word1 != word2]

    return pairs