The Sequential Imperative (General Cognitive Principles and the Structure of Behaviour)