A Computational Model of the role of affect in decision-making: Learnability of approach avoidance behaviors by simple agents