Write a normal stack class and also a stack class with exception handling and use them in two different programs.