printSolution, nextSolution

Resolves #12