Simulation of dining philosophers and sleeping barber in Java. They are two separate simulations under same topic.