add last() method to Permutation
Merge branch 'master' of https://github.com/fugp/algorithms