Print all permutations with repetition of characters (http://www.geeksforgeeks.org/print-all-permutations-with-repetition-of-characters/)