codeeval.com sum of digits commit. added test cases for later optimization