Bumper Car Ride

This is Exercise 4.12 of the text. Only three nap()'s are allowed in this program: riders wandering cars bumping and one in main() to shutdown the simulation.

Animate your program using XtangoAnimator.java.

Permission is granted to copy and distribute this material for educational purposes only, provided that the following credit line is included: "Concurrent Programming using Java, Copyright 1997 Stephen J. Hartley." Permission is granted to alter and distribute this material provided that the following credit line is included: "Adapted from Concurrent Programming using Java, Copyright 1997 Stephen J. Hartley.