Removed other unused includes; added extra description of backtracking method