Offline Puzzle Solver