模板:
Pick a starting point.while(Problem is not solved)For each path from the starting point.check if selected path is safe, if yes select itand make recursive call to rest of the problembefore which undo the current move.End ForIf none of the move works out, return false, NO SOLUTON.
