added error check if a number is divided my zero.