A Procedure for Studying the Cognitive Processes Used during Problem Solving