methods of problem solving in psychology