Added option to do permutations.
Merge branch 'master' of github.com:kerneldump/school_projects