Sleeping Barber Algorithm (c) March 2006 Lukasz Grzegorz Maciak 1. Requirements: This code must be run using Java 1.5 or higher as it utilizes java.util.concurrent.Semaphore class which might not be present in the 1.4 edition. 2. Compiling: javac BarberShop.java javac Customer.java 3. Running: java BarberShop NOTE: I run out of time to add a proper, command line attribute parsing method. Thus the number of chairs in the waiting room is hard coded in the main method of Banker.java. To change the number of chairs, please edit the code. 3. Output: Please make sure you view the output in a maximized terminal window. The output might be rather wide, and line wrapping may make it look confusing.