Finished simple stack implementation for Ch. 3