Added method of generating permutations via backtracking.
Backtracking: generate smallest set which adds to a certain sum.