Playing around with python by solving the sleeping barber problem.