working on Emotion Machine Cognitive Architecture (chapter 2)