credit and comments for dec_out divide by ten function
comment modulo 10 function