MathWorks interview question

implement a queue using the stack data structure.