add Stack implementation based on ArrayList