Summing a number's digits function added