Changed proper divisors function not to return the sum

Changed the common proper divisors function not to return the sum
and modified problem #21 because it used it