added solution to problem 008
changed variable name in digittoint