ex 13_8 about a stack class last-in-first-out