flag problem solving process approach to problem solving