Cognitive Psychology and Artificial Intelligence