Added solution to problem 39.
isPandigital is now a standard EulerLong method.