結果 : write algorithm for pop operation in stack