See comments at top of permute.c for information on how to build and use.