Array Implementation of the Stack ADT
1. The number of items in the stack is stored in the member variable used.
2. The items in the stack are stored in a partially filled array called data, with the bottom of the stack at data[0], the next entry at data[1], and so on to the top of the stack at data[used-1].