Anticipating Student Responses to Improve Problem Solving