Command line tool to generate permutations