We perform following operations in the stack:
- pop() operation
- push() operation
- peek() operation