To throw an exception when the stack is empty,
the pop() method should behave as follows:
If I am empty {
throw an Exception whose message is "stack underflow".
} else {
a. Subtract 1 from myTop.
b. Return the entry of myArray whose index is myTop.
}