Permutations is a project mainly written in ..., it's free.
Collection of various ways to get all permutations of a list of characters.
http://en.wikipedia.org/wiki/Permutation