finish leetcode 46 Permutations fix issue #18