Having fun with Stacks and queues. :D