Added divide by zero error for division and modulo funtions.