mostly finished with exercise 10
changed the iterator count variable to use a smaller integer.  Giving
more arguments than that integer can hold results in infinite loops.