generateAllPaths

Given a list (X0, X1, X2, ..., Xn, ...) generates a number of lists of the same length where each the list element in the nth position can assume values 0 up to Xn