Made by Joshua Moelans for the Machines and Computability Course @UAntwerpen
The program takes 2 arguments, in the following order:
- string array || example: (a,b,c)
- length of permutation || example: 2
./program.o (a,b,c,d) 2
gives us this output
(a,a) (a,b) (a,c) (a,d) (b,a) (b,b) (b,c) (b,d) (c,a) (c,b) (c,c) (c,d) (d,a) (d,b) (d,c) (d,d)