made change to ensure all puzzles are solvable