change PWP::Encoding to PWP::SingleEncoding

This is the same as [this PR](https://github.com/book/Games-Mastermind/pull/1).

Cheers!