Added validation for dividing by zero and made the error message show for the values for the argument