finshed problem 12 and 24; also updated divisors algorithm