Added simple C++ exception handling for division program