get problem 7 to work up 10,001