I have
l = [["a", "b", "c"], ["1", "2", "3"], ["x", "y", "z"]]
how can I get a list of the combination of all the elements?
combine(l)
should return
["a1x", "a2x", "a3x", "b1x", "b2x", "b3x", "c1x", "c2x", "c3x",
"a1y", "a2y", "a3y", "b1y", "b2y", "b3y", "c1y", "c2y", "c3y",
"a1z", "a2z", "a3z", "b1z", "b2z", "b3z", "c1z", "c2z", "c3z"]