Puzzle generation better randomized