guide to recursive backtracking 8512717