paper folding logic puzzle - Search