added number theory tools module nttools.py
depends on gmpy, a multiprecision python module
(pip install gmpy)