Added header for permute.c

Also changed some `const char*` to `char*` to match the chunk_t data.
The functions still don't modify the input in any way.