update chapter 10 - Stack