displays custom error message if attempting to divide by zero