Exercise 2 of the While Worksheet