結果 : how to implement a stack using array