program to add the digits entered