Update backtracking.java