Exception Handling Added

Exception handler added when user inputs a string that cannot be
converted to a double.