Example 5:
The JRoboTest program creates a collection of JRobo's, moves each to a random location and draws a random sized rectangle. Uses the rect method and move methods in XJRobo, as well as Java's Random & ArrayList classes.