Simple stack implementation for ch. 3