Code example for Stack

Methods: isEmpty, lastElement