Java program that simulates customers flowing into a checkout line at the supermarket