Newlines at EOF, because OCD
Permuter yields matrices rather than integers

First step toward separating concerns. Keep everything in matrices
until they're output.