Homework 3 - Exceptions Handling - completed