beginning backtracking algorithm