Print All Permutations Of A String Without Duplicates Java