Researchers programmed two robots to look out for each other