Teaching problem solving in math