結果 : algorithm for pop operation in stack using array