added checks for special cases such as division by zero.
close #3
Merge branch '#3-CheckingSpecialCaseArithmetic'