Implemented sum of digits in an integer
Merge pull request #305 from jamesrhurst/sum-digits

Implemented sum of digits in an integer