Added generation of solvable puzzles.