Add digit sum and all combinations functions