Using Artificial Intelligence for Cognitive Simulation