Walk me through how you would implement a backtracking algorithm to solve the graph coloring problem.