EMANN - a model of emotions in an artificial neural network