Added unit test to pythagorean.py, debugged errors, updated 009.py
Aliased range to use xrange instead in 038.py