Soluiton to sum_of_digits