Finished StringPermutations, commented + cleaned up code