Added doctest to diffSquare and added docstring; removed debugging print
stmts