fermat.py finished

All done. Beware of the overflow errors...