Exercise 2 "Generic Stack with Exceptions"