Could sheepdog robots replace canines for herding flocks? Sheepdogs use two simple rules when herding animals. But, how could this lead to a new form of robot? by James Maynard