Uncommented implementation of unisex toilet problem using monitors.