Added algorithm.SubSets for generating subsets and permutations.
Introduced generic.RandomOrder.
Small refactoring of localsearch.RetryChanger.