Scientists built an algorithm to find the best spots for public defibrillators. The tool uses real data on heart attacks to help place these lifesaving devices where they're needed most.