The Role Of Emotions In Autonomous Social Agents