General Backtracking search for solving Constraint Satisfaction Problems