displays unique permutations from a string passed on the command line
prereqs:
- Python 2.7
/path/to/python permutations.py some_string
I chose to use creating unique permutations based off lexographic order.
https://en.wikipedia.org/wiki/Permutation#Generation_in_lexicographic_order
It's a fairly simple algorithm and handles uniqueness well.