Exercise 33: Demonstrates use of while-loop.