lab 8 extra credit

need to fix program adding in extra numerals on numbers bigger than 10