Googe funds study that aims to teach regret to AI