Solved sumOfDivisors problem