Adding Exception handling Homework