Example of Stack with Constructor and decostructor