結果 : write an algorithm for implementing stack using array