Add permutations assignment from chapter 6.