I did the chapter 4 examples with Latches and Queues