Added divisors function, to help with euler-12.