Create perm2cycle.lua