add permutation.lua