> char permute[] = "\3\2\1\9\8\7...
Naughty, naughty! In the FIRST place, \9 is NOT a legal octal value. In
the second place, if you are initializing a "char" array to binary numbers,
rather than characters, you should use:
char permute[] = {3, 2, 1, 9, 8, 7...