Added divisors method for problem 21.