Raise an exception on negative numbers for kata-1