Stack and queue practice. Head First C# exercise, page 405.