Added error checking for 0 and 1.  Added divisors methods.
Added Problem 39.
Removed extraneous code from Problem 39.