Permutations Of Strings Leetcode Python Beginner