Moves numbers from a stack to a queue

A program that moves numbers from a stack (linked list) to a queue
(circular buffer).