added solution to prob 16 - sum of digits