Print All Permutations Leetcode