Diceware refactor.

Signed-off-by: Jonathan Hedstrom <jhedstrom@gmail.com>