CodeEval; SumOfIntsMedium attempt 3; still partial credit