adding sum_digits solution