Algs4: Week 2 - Queues