Implement the quest "sum_of_digits".