made notes on printAllPermutations and getInterleaving. Working on a buggy removeAdjacentDuplicates