problem solving first class