stacks and queues work done by: Victor Iyama