Added more comments to solveBacktracking() to help find the error