A robot that rewards good behaviour