結果 : write an algorithm to implement queue using stack