Update RobotsDemo.java

Add break to exit loop if robot dies.