introduced ``all_roots`` default argument to ``sqrt_mod``; added documentation