The Role of Action in the Development of Thinking