Added exception handling for div by 0