Added ZeroDivision test, docstrings and comments