Implement IntegerStack class