created #sum_squared_digits and changed @repeats to @sums