Aliased range to use xrange in digit_math.py
Added unit test for pythagorean.py, debugged pythagorean.py (missing pythagorean triplets), added 039.py