Finish the permutations example.