program to play around with exceptions