generate puzzles ok