Fixed division with numerator 0
added test case for 0 / 1