結果 : algorithm for peep operation in stack