Data types: Stack Brian Takita (contact me)
The Stack class advantage over the array_push and array_pop function is Stack::pop() pops the stack and returns a reference to the popped element. There is also a top function that returns a reference to the top element.