In an amazing illustration of how reinforcement learning works, wild birds became trained to exchange litter for a crumb of pie