Searching in centipede/puzzles