Adding digits in an int